home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
print
/
2pcl.arj
/
TESTMAC.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-02-24
|
1KB
|
48 lines
echo off
if "%1"=="" goto info
if not exist %1 goto info0
echo This is how macro %1 will look: >prn:
if "%2"=="" goto no_id
download %1 /M%2
:has_id
echo &fs%2y3x1S >prn:
unload /M%2
goto out
:no_id
download %1 /M31
:no_id2
echo &fs31y3x1S >prn:
unload /M31
goto out
:info0
if not exist %1.PCL goto info1
echo This is how macro %1.PCL will look: >prn:
if "%2"=="" goto no_id0
download %1.PCL /M%2
goto has_id
:no_id0
download %1.PCL /M31
goto no_id2
:info1
echo File %1 not found. Please enter a valid macro file name.
echo
:info
echo This batch file allows you to test print a LaserJet printer macro.
echo At the DOS prompt, type TESTMAC followed by the name of the macro file,
echo and optionally followed by a macro font ID (number) that is not already
echo being used by another printer macro previously downloaded to the printer
echo For example
echo
echo TESTMAC MYLOGO.PCL
echo or
echo TESTMAC MYLOGO.PCL 10
echo
:out